package tech.heptagram.staff.cas.mapper;


import org.apache.ibatis.annotations.Param;

import tech.heptagram.staff.cas.domain.po.RoleMenu;

/**
 * Created by yang on 2017/7/10.
 */
public interface CasRoleMenuMapper {

    int insert(RoleMenu roleMenu);

    int deleteByRoleId(@Param("roleId") Integer roleId, @Param("deletedBy") String deletedBy);

    int deleteByMenuId(@Param("menuId") Integer menuId, @Param("deletedBy") String deletedBy);
}
